package com.hous.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hous.bean.Person;

/**
* @author [houshuai@asiainfo.com]
* @version [版本号,2017年4月18日] 
* @see [相关类/方法]
* @since [产品/模块版本]
* @description TODO
*/
@Controller
@RequestMapping("/person")
public class PersonController
{
	
	@RequestMapping("/")
	public @ResponseBody Person getPerson(){
		Person person = new Person();
		person.setPersonAddr("address");
		person.setPersonId(20);
		person.setPersonName("hous");
		return person;
	}

}
